Release 10.1A: OpenEdge Development:
Java Open Clients
SQL ResultSet streaming and call-back sequence
Java Open Client support for
TABLEandTABLE-HANDLEparameters depends on a call-back mechanism used by both the client application and the proxy code. Therefore, either the client application or the proxy always must request data from the sender, rather than having the sender set or send the data. As a result, the client application calls back to the proxy for output parameters, and the proxy calls back to the client application for input parameters.Table C–2 shows how the call-back sequence works when passing an
INPUTTABLEorTABLE-HANDLEparameter.
Table C–3 shows how the call-back sequence works when passing an
OUTPUTTABLEorTABLE-HANDLEparameter.
Table C–4 shows how the call-back sequence works when passing an
INPUT-OUTPUTTABLEorTABLE-HANDLEparameter.
The input
ResultSetobject is an object written by the Java client application. This also can be a standardResultSetobject available as the result of a SQL query (ajava.sql.ResultSet). In contrast, the outputResultSetobject always is provided by the generated proxy.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |